#include <stdio.h>

typedef unsigned char* byte_pointer;


int is_litter_endian(){
    int x = 0x12345678;
    byte_pointer p = (byte_pointer) &x;
    return p[0] == 0x78;
}


int main(){

    printf("%d", is_litter_endian());

    return 0;
}
